package com.cy.milktea.common.annotation;


import java.lang.annotation.*;

@Target(value = ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface SetUserAndTime {

    /* create: 自动设置BaseObject对象的createdUser和createdTime的值
    *  modify: 自动设置BaseObject对象的modifiedUser和modifiedTime的值
    *  all: 自动设置BaseObject对象的createdUser,createdTime,modifiedUser和modifiedTime的值
    * */
    String value() default "create";

}
